In this section,
you will learn how to enable Application Insights. To log telemetry and
Application Insights from an Azure Machine
Learning Service, you must have an Application
Insights resource associated with your Azure
Machine Learning Workspace, and you must configure
your service to use it for telemetry logging. When you create an Azure
Machine Learning Workspace, you can select an Azure
Application Insights resource to associate with it. If you do not select an existing application
Insights resource, a new one is created in the same resource group
as your workspace. You can determine the
Application Insights resource associated with your workspace by viewing the Overview page of the workspace blade
in the Azure portal. Or you can use the
get details method of a workspace object. Let's now look at how to enable Application Insights
for a service. When deploying a new
real-time service, you can enable
Application Insights in the deployment configuration
for the service. If you want to enable
Application Insights for a service that
is already deployed, you can modify the
deployment configuration for Azure Kubernetes
Service or AKS, based services in
the Azure portal. Alternatively, you can update any web service by using the Azure Machine Learning, SDK.